<!DOCTYPE html>
<html>

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>run</title>
    <script src="../lib/angularjs/angular.min.js"></script>
</head>

<body>
<div ng-app="myApp">
    <div>
        <h2>name:{{name}}</h2>
    </div>
</div>
<script type="text/javascript">
    var app = angular.module("myApp", []);
    app.run(function($rootScope) {
        $rootScope.name = "Ari Lerner";
    });
</script>
</body>

</html>